package com.chuangke.flowable.config;

import org.flowable.spring.SpringProcessEngineConfiguration;
import org.flowable.spring.boot.EngineConfigurationConfigurer;
import org.springframework.context.annotation.Configuration;

/**
 * {@code @Author:} stm
 * @Description:
 * @Date: Create in 2019/11/20 10:26
 */
@Configuration
public class FlowableConfig implements EngineConfigurationConfigurer<SpringProcessEngineConfiguration> {
	@Override
	public void configure(SpringProcessEngineConfiguration springProcessEngineConfiguration) {
		springProcessEngineConfiguration.setActivityFontName("宋体");
		springProcessEngineConfiguration.setLabelFontName("宋体");
		springProcessEngineConfiguration.setAnnotationFontName("宋体");
	}
}
